package repo

import "go_user_manager/internal/domain"

type IUserRepo interface {
	Add(user domain.User) error
	Get(id, userName string) (*domain.User, error)
	Update(user domain.User) error
	Delete(id string) error
	List(listQuery domain.UserListQuery) ([]domain.User, int64, error)
}
